package com.example.logistics_oa.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.logistics_oa.service.FlApplycongService;
import com.example.logistics_oa.mapper.FlApplycongMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.comment_oa.pojos.FlApplycong;

import java.util.List;

/**
* @author 安徽彭于晏
* @description 针对表【fl_applycong】的数据库操作Service实现
* @createDate 2022-10-27 16:41:35
*/
@Service
public class FlApplycongServiceImpl extends ServiceImpl<FlApplycongMapper, FlApplycong>
    implements FlApplycongService{

    @Autowired
    FlApplycongMapper flApplycongMapper;
    @Override
    public int insertCong(FlApplycong flApplycong) {
        return flApplycongMapper.insertCong(flApplycong);
    }

    @Override
    public List<FlApplycong> DanGeQuChong(String flcBianhao, String flcGonghao) {
        return flApplycongMapper.DanGeQuChong(flcBianhao,flcGonghao);
    }

    @Override
    public List<FlApplycong> GenJuDanHaoChaXun(String flcBianhao) {
        return flApplycongMapper.GenJuDanHaoChaXun(flcBianhao);
    }

    @Override
    public int DeleteById(int flcId) {
        return flApplycongMapper.DeleteById(flcId);
    }

    @Override
    public int DeleteByBianHao(String flcBianhao) {
        return flApplycongMapper.DeleteByBianHao(flcBianhao);
    }

    @Override
    public List<FlApplycong> selectAllByFlcBianhao(String flBianhao) {
        return flApplycongMapper.selectAllByFlcBianhao(flBianhao);
    }

    @Override
    public int updateByID(int flcId) {
        return flApplycongMapper.updateByID(flcId);
    }

    @Override
    public int updateByFlBianHao(String bianhao) {
        return flApplycongMapper.updateByFlBianHao(bianhao);
    }
}




